.include "tn2313def.inc"
rjmp reset
reti
reti
reti
reti
reti
reti
reti
reti
reti
reti
reti
reti


reset:
  ldi	r31, 0x34
  andi  r31, 0x12
  ldi   r31, 0xFF
  out   DDRB, r31
  out   PORTB, r31
  ldi   r31, 0x55
  ldi   r30, 0xFF
  eor   r31, r30
  out   DDRD, r31
  out   PORTD, r31
  ldi	  r16, (0<<CS02)|(0<<CS01)|(1<<CS00)
  out	  TCCR0B, r16
  in	  r0, PORTD
  rjmp  reset

